package com.hpe.springboot.springbootmybatis.service;

import com.hpe.springboot.springbootmybatis.entity.User;

import java.util.List;

/**
 * 用户业务逻辑接口类
 */
public interface UserService {
    void saveOrUpdate(User user);

    User getById(Integer id);

    List<User> list();
}
